package com.tarena.lbs.user.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.user.pojo.po.AdminPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminMapper extends BaseMapper<AdminPO> {

    List<AdminPO> AdminVOList();

    @Select("select * from lbs_admin where account_phone=#{phone}")
    AdminPO adminLogin(@Param("phone") String phone);
}